package Pattern.TemplatePattern.Program.program6;

public class ModernCar extends CarTemplate{
    @Override
    public void fixChassis() {
        System.out.println("Assembling chassis of the modern model");
        chassis = "Modern Chassis";
    }

    @Override
    public void fixBody() {
        System.out.println("Assembling body of the modern model");
        body = "Modern body";
    }

    @Override
    public void paint() {
        System.out.println("Painting body of the modern model");
        paint = "Modern Black Paint";
    }

    @Override
    public void fixInterior() {
        System.out.println("Setting up interior of the modern model");
        interior = "Modern interior";
    }
}
